package com.vf.admin.miaodong.service.impl;

import com.vf.admin.miaodong.dao.AfterSetupDao;
import com.vf.admin.miaodong.entity.AppSetup;
import com.vf.admin.miaodong.service.AfterSetupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 后台设置
 */
@Service
public class AfterSetupServiceImpl implements AfterSetupService {

    @Autowired
    AfterSetupDao afterSetupDao;

    /**
     *
     * 详情
     */
    @Override
    public AppSetup get() {
        return afterSetupDao.get();
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppSetup appSetup) {
        afterSetupDao.save(appSetup);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterSetupDao.del(id);
    }
}
